
#include "AbstractParser.h"
#include "ValueParser.h"

namespace FileParser
{

void AbstractParser::ParseIncludeList(TiXML::TiXmlElement* root)
{
    ValueParser vParser;
    vParser.ParseIncludeList( root );
}

TiXML::TiXmlElement* AbstractParser::Next(TiXML::TiXmlElement* element)
{
    TiXML::TiXmlElement* tmp = element->NextSiblingElement( );
    element->Clear( );
    return tmp;
}

TiXML::TiXmlElement* AbstractParser::Next(TiXML::TiXmlElement* element, const char* name)
{
    TiXML::TiXmlElement* tmp = element->NextSiblingElement( name );
    element->Clear( );
    return tmp;
}

}
